package com.Eastiy.EXO.Menu;

import android.content.Context;
import android.view.View;
import android.widget.PopupWindow;
import com.Eastiy.EXO.Load;
import com.Eastiy.EXO.View.ASUI;
import com.Eastiy.EXO.View.NewMoveCB;

/* renamed from: com.Eastiy.EXO.Menu.pn */
public class C0004pn {
    public static Context context;

    /* renamed from: fb */
    public static boolean f35fb = false;
    public static PopupWindow pncdv;

    /* renamed from: H */
    private static int m26H() {
        return context.getResources().getDisplayMetrics().heightPixels;
    }

    /* renamed from: W */
    private static int m27W() {
        return context.getResources().getDisplayMetrics().widthPixels;
    }

    public static void dis() {
        pncdv.dismiss();
    }

    public static void show(Context context2) {
        context = context2;
        pncdv = new NewMoveCB().NewMoveCB(context2, "喷", f35fb, new Object[]{new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                if (!C0004pn.f35fb) {
                    C0004pn.f35fb = true;
                    Load.jetpack(1);
                    ASUI.hint(C0004pn.context, "已开启喷气背包");
                    return;
                }
                C0004pn.f35fb = false;
                Load.jetpack(0);
                ASUI.hint(C0004pn.context, "已关闭喷气背包");
            }
        }, new Boolean(false)}, 0, 0);
    }
}
